package com.kong.client.gui;

import Test1;

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDletStateChangeException;

public class MIDletManager
{
	public static Test1 midlet;

	public static void exit()
	{
		try
		{
			midlet.exit();
		}
		catch (MIDletStateChangeException e)
		{
			// TODO handle exit
			e.printStackTrace();
		}
	}
	
	public static Display getDisplay()
	{
		return Display.getDisplay(midlet);
	}
}
